<template>
	<view class="navigation">
		<image class="leftCar" src="@/static/left_car.png" mode="widthFix"></image>
		<view class="list">
			<view>
				<image src="@/static/focus.png" mode="widthFix" @click="toCarInfo"></image>
				<image src="@/static/calibration.png" mode="widthFix" @click="toDesktop"></image>
				<image src="@/static/close_icon.png" mode="widthFix" @click="goBack"></image>
			</view>
		</view>
		<image class="rightRobot" src="@/static/right_robot.png" mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toCarInfo() {
				uni.redirectTo({
					url: '/pages/vehicleInformation/index'
				})
			},
			toDesktop() {
				uni.redirectTo({
					url: '/pages/desktop/index'
				})
			},
			goBack() {
				uni.redirectTo({
					url: '/pages/desktop/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.navigation {
		width: 90%;
		display: flex;
		align-items: center;
		justify-content: space-around;
		position: fixed;
		margin-left: -13rpx;
		bottom: 0;
		//居中
		left: 50%;
		transform: translateX(-50%);

		//左车icon
		.leftCar {
			width: 50rpx;
		}

		//右机器人icon
		.rightRobot {
			width: 50rpx;
			margin-top: -13rpx;

		}

		//列表按钮
		.list {
			width: 30%;

			image {
				width: 25rpx;
			}

			view {
				width: 100%;
				display: flex;
				justify-content: space-between;
				align-items: center;
			}
		}
	}
</style>